﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.Modeling.Diagrams;
using Microsoft.VisualStudio.Modeling;
using Microsoft.VisualStudio.Modeling.Diagnostics;

namespace UofCASE.AgileProductLinerDSL {
    public partial class TestPortShape {

        public void GrayOut() {
            PenSettings penSettings = new PenSettings();
            penSettings.Color = global::System.Drawing.Color.LightGray;
            this.StyleSet.OverridePen(DiagramPens.ShapeOutline, penSettings);
            this.Invalidate(true);
        }

        public void ResetColor() {
            this.StyleSet.ClearPenOverride(DiagramPens.ShapeOutline);
            this.Invalidate(true);
        }
    }
}
